import { findTypeByValue, findTypeByLabel } from '@/utils/findType'
import * as types from "./types"

// 渠道Table
export const configTableFrame = [
  { 
    prop: "num", 
    label: "序号", 
    minWidth: "50px", 
    tooltip: true 
  },
  {
    prop: "name",
    label: "研讨会名称",
    minWidth: "100px"
  },
  {
    prop: "code",
    label: "会议编号",
    minWidth: "100px"
  },
  {
    prop: "openTime",
    label: "开会时间",
    minWidth: "100px"
  },
  {
    prop: "speaker",
    label: "主讲人",
    minWidth: "100px"
  },
  {
    prop: "maxNum",
    label: "上限人数",
    minWidth: "100px"
  },
  { 
    label: "操作", 
    slotName: "operate", 
    fixed: "right",
    minWidth: "150px"
  },
];


export const searchFrame = [
  { 
    label: "研讨会名称", 
    key: "name", 
    type: 1
  },
  { 
    label: "开会时间", 
    key: "openTime", 
    type: 4 
  }
]
